$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$f: 19.2;

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: all 600ms;
  border-bottom: 1px solid rgba(100, 86, 163, .1);
  background-color: white;
  padding: 1vw 0;

  .box {
    margin: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .logo {
      position: relative;

      img {
        width: 353/$f+vw;
        transition: all 600ms;
      }

      img:nth-child(2) {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
      }
    }

    .links {
      display: flex;
      justify-content: space-between;
      width: 52vw;

      .item {
        position: relative;
        a {
          color: #6456A3;
          font-family: Lexend;
          font-size: $fontSize_18;
          font-style: normal;
          font-weight: 500;
          font-family: 'Lexend';
          transition: all 600ms;
        }

        .active {
          color: #61C0BD;
        }
        .aList{
          position: absolute;
          left: -2.5vw;
          top:100%;
          padding: 1vw 0;
          width: calc(100% + 5vw);
          display: none;
          text-align: center;
          a{
            display: block;
            background-color: white;
            padding: 0.6vw;
            font-size: 16/$f+vw;
            &:hover{
              background-color: #61C0BD;
              color:white;
            }
          }
        }
        &:hover{
          .aList{
            display: block;
          }
        }
      }
    }

    .buy {
      display: block;
      border-radius: 32/$f+vw;
      background: #6456A3;
      color: #FFF;
      font-family: 'Lexend';
      font-size: 14/$f+vw;
      font-weight: 600;
      text-transform: capitalize;
      padding: 0.4vw 1vw 0.5vw 1vw;
      margin-left: -1vw;
      transition: all 600ms;

      &:hover {
        background-color: #61C0BD;
      }
    }

    .r {
      display: flex;
      align-items: center;

      .line {
        background: #D9D9D9;
        width: 4px;
        height: 27/$f+vw;
      }

      .search {
        cursor: pointer;
        margin: 0 1.5vw;

        svg {
          display: block;
          width: 30/$f+vw;
        }
      }

      .lan {
        cursor: pointer;
        position: relative;
        .t1 {
          display: flex;
          align-items: center;

          img {
            display: block;
            width: 25/$f+vw;
          }

          p {
            color: #6456A3;
            font-family: Montserrat;
            font-size: $fontSize_16;
            font-weight: 300;
            margin-left: 5px;
          }
        }
        .chose{
          position: absolute;
          left: 0;
          width: 100%;
          top:100%;
          display: none;
          a{
            display: block;
            text-align: center;
            color:#6456A3;
            font-size: $fontSize_16;
            transition: all 600ms;
            &:hover{
              color:#61C0BD;
            }
          }
        }
        &:hover{
          .chose{
            display: block;
          }
        }
      }
    }
  }
}




.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    ;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        height: 40px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;

      .line {
        width: 30px;
        height: 1px;
        background-color: #0060B0;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 30px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.r_fixed {
  position: fixed;
  right: 0;
  bottom: 20%;
  z-index: 50;
  a {
    width: 70/$f+vw;
    height: 70/$f+vw;
    border-radius: 50%;
    background: #61C0BD;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 600ms;
    cursor: pointer;
    img{
      display: block;
      max-width: 50%;
    }
    &:hover{
      background: #6456A3;
    }
  }
}

.search_dom {
  background: rgba(0, 0, 0, 0.60);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
  background: rgba(0, 0, 0, 0.60);
  display: none;
  .box {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vw 0;

    .icon {
      svg {
        width: 28/$f+vw;
      }
    }

    .sr {
      margin: 0 1vw;
      position: relative;
      input{
        outline: none;
        border-radius: 30px;
        border: 1px solid #E5E5E5;
        width: 25vw;
        padding: 10px 0;
        text-indent: 20px;
        color: #000;
        font-size: $fontSize_16;
      }
      a{
        position: absolute;
        right: 20px;
        top:50%;
        transform: translateY(-50%);
        svg{
          display: block;
          width: 16/$f+vw;
        }
      }
    }
    .close{
      cursor: pointer;
      svg{
        width: 32/$f+vw;
        display: block;
      }
    }
  }
}

.foot {
  .dom1 {
    padding: 5vw 5vw 0 5vw;
    display: flex;
    justify-content: space-between;

    .l {
      margin-top: 2vw;

      .logo {
        img {
          width: 353/$f+vw;
          display: block;
        }
      }

      .icons {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 2vw;
        justify-content: center;

        a {
          margin: 1vw 5% 0 5%;

          img {
            display: block;
            max-height: 20/$f+vw;
            object-fit: contain;
          }
        }
      }
    }

    .r {
      width:70%;
      display: flex;
      justify-content: space-between;
      gap: 3%;
      .item {
        position: relative;

        .i {
          min-height: 13vw;

          p {
            color: #333;
            font-family: 'Lexend';
            font-size: $fontSize_18;
            font-weight: 500;
          }

          .aList {
            a {
              display: block;
              color: #707070;
              font-size: $fontSize_16;
              font-family: 'Montserrat-Light';
              margin-top: 1vw;
              transition: all 600ms;

              &:hover {
                color: #000;
              }
            }
          }

          .chose {
            position: absolute;
            left: 0;
            width: 20vw;

            .d1 {
              display: flex;
              justify-content: space-between;
              border-radius: 50/$f+vw;
              background: rgba(100, 86, 163, .1);
              padding: 1vw;
              margin-top: 1vw;
              position: relative;

              p {
                color: #888B97;
                font-size: 14/$f+vw;
                font-family: 'Lexend';
              }

              .btn {
                background: #6456A3;
                position: absolute;
                right: 0;
                height: 100%;
                top: 0;
                width: 20%;
                border-radius: 50/$f+vw;
                cursor: pointer;
                z-index: 10;
                display: flex;
                justify-content: center;
                align-items: center;
              }
            }

            .d2 {
              position: absolute;
              left: 20%;
              top: 100%;
              width: 60%;
              background-color: #6456A3;
              border-radius: 10px;
              display: none;

              a {
                display: block;
                text-align: center;
                padding: 0.8vw 0;
                font-size: 14/$f+vw;
                color: white;
                border-bottom: 1px solid white;
              }
            }
          }
        }
      }
    }
  }

  .dom2 {
    padding: 2vw 5vw 3vw 5vw;
    border-top: 1px solid rgba(153, 153, 153, .1);
    display: flex;
    justify-content: space-between;

    p {
      color: #000;
      font-size: $fontSize_16;
    }

    .r {
      display: flex;
      align-items: center;

      a {
        display: block;
        margin-left: 2vw;
      }

      .a1 {
        color: #707070;
        font-size: $fontSize_16;
      }

      .buy {
        display: block;
        border-radius: 32/$f+vw;
        background: #6456A3;
        color: #FFF;
        font-family: 'Lexend';
        font-size: 14/$f+vw;
        font-weight: 600;
        text-transform: capitalize;
        padding: 0.4vw 1vw 0.5vw 1vw;
        transition: all 600ms;

        &:hover {
          background-color: #61C0BD;
        }
      }
    }
  }
}


@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }
  .foot{
    .dom1{
      padding: 20px 5%;
      flex-direction: column;
      .l{
        width: 100%;
        .logo{
          img{
             height: 40px;
             width: auto;
             margin: 0 auto;
          }
        }
        .icons{
          justify-content: space-between;
          width: 60%;
          margin: 20px auto 0 auto;
          a{
            margin: 0 0 15px 0;
            width: 30%;
            text-align: center;
            img{
              max-height: inherit;
              margin: 0 auto;
            }
          }
        }
      }
      .r{
        width: 100%;
        display: none;
        // flex-direction: column;
        // .item{
        //   width: 100%;
        //   .i{
        //     p{
        //       font-size: 16px;
        //     }
        //     .aList{
        //       a{
        //         font-size: 14px;
        //       }
        //     }
        //   }
        // }
      }
    }
    .dom2{
      flex-direction: column;
      text-align: center;
      line-height: 1.6;
      padding: 10px 5% 20px 5%;
      p{
        font-size: 14px;
      }
      .r{
        justify-content: center;
        margin-top: 10px;
        a{
          margin: 0 10px;
        }
        .a1{
          font-size: 16px;
        }
        .buy{
          font-size: 14px;
          padding: 5px 15px;
        }
      }
    }
  }
  .r_fixed{
    bottom:10%;
    a{
      width: 40px;
      height: 40px;
    }
  }
}